package com.zy.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zy.mapper.MmMapper;
import com.zy.pojo.mm;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("mmService")
public class MmServiceImpl extends ServiceImpl<MmMapper, mm> implements MmService{


    @Resource
    private MmMapper mapper;

    @Override
    public mm getMmByUserCode(String username, String password) {
        return mapper.getUserByUserCode(username,password);
    }
}
